package com.fang.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Place {
    private Integer id;
    private String placeName;
    private String picPath;
    @JsonFormat(pattern = "yyyy/MM/dd")
    private Date hotTime;
    private Double hotTicket;
    private Double dimTicket;
    private String placeDesc;
    private Integer proviceId;
}
